package com.xiaomengkuan.common.exception;

import lombok.Getter;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-25 10:54 下午, File Encoding: utf8 --
 */
@Getter
public class CasualException extends RuntimeException {
    private int code;
    private String message;

    public CasualException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
